import axios from 'axios'
const input = document.querySelector('input')
const button = document.querySelector('button')

axios
	.get('/data/data')
	.then(({data}) => {
		console.log(data);
		console.log(2)
	})
let value;
input.oninput = ({target: {value: targetValue}}) => {
	value = targetValue
}
button.onclick = () => {
	console.log(value)
	console.log(1)
}
